fix(bundles): add configure/terminfo bundle — install alacritty terminfo on remote hosts - #135
fix(bundles): add configure/terminfo bundle — install alacritty terminfo on remote hosts#135t0kubetsu wants to merge 1 commit into
Conversation
…nfo on remote hosts Ubuntu 24.04 minimal images don't ship the alacritty terminfo entry. SSH forwards the local TERM value, so connecting from an Alacritty session triggers "'alacritty': unknown terminal type." on the remote. Adds AcceptEnv TERM to sshd_config and copies /usr/share/terminfo/a/alacritty from the Ansible controller to /etc/terminfo/a/alacritty on each target. Relates to range42/range42#227.
Review — changes requestedAdds a bundle that installs the alacritty terminfo and lets sshd accept Blocking
Non-blocking
Cross-repo
Verification
Generated by Claude Code |
|
Thanks for the review @pparage — the findings are correct against this diff, but the diff itself is stale: this PR's head (
Your non-blocking points about Closing as superseded by #141. |
Summary
bundles/core/linux/ubuntu/configure/terminfo/main.ymlTERMenv var from the SSH client (AcceptEnv TERM)/etc/terminfo/a/alacrittyon each target hostCompanion to range42/range42#228 which fixes the deployer-side TERM export. This bundle fixes the server side: Ubuntu 24.04 minimal images don't ship the
alacrittyterminfo entry, so connecting from an Alacritty session triggers'alacritty': unknown terminal type.on the remote.Relates to range42/range42#227.
Usage
Override
hostsin the importing scenario's stage_01 to target the relevant inventory group.Test plan
TERM=alacrittyis forwarded and accepted by sshdunknown terminal typeerror in the remote shell